package com.fxz.common.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author fxz
 * @date 2021/5/13 14:44
 **/
@Data
public class PassDto implements Serializable {

    @NotBlank(message = "新密码不能为空!")
    private String password;
    @NotBlank(message = "旧密码不能为空!")
    private String currentpass;
}
